using ProtoModels;

public class PlayerCharacterManager : PlayerStatsManager
{
	public PlayerCharacterManager(PlayerModel model, OnSave onSave)
	{
		base.playerStats = new PlayerStats(model, onSave.Invoke, SkillConfig.OriginalPlayerConfig());
		base.playerMood = new PlayerMood(model, onSave.Invoke);
		base.playerTraining = new PlayerTraining(model, onSave.Invoke, base.playerStats);
		if (model.activeTraining != null && model.activeTraining.Count != 0)
		{
			base.playerTraining.AddTrainingToScheduler();
		}
	}
}
